import {
  Request
} from "../index.js";
//获取积分和优惠券
export function getpointscoupons(data) {
  return Request({
    url: '/wxapplet/getpointscoupons',
    method: 'post',
    data: {
      userId: data,
    }
  })
}

//获取积分明细
export function getpointdetail(data) {
  return Request({
    url: '/wxapplet/getpointdetail',
    method: 'post',
    data: {
      userId: data,
    }
  })
}